package exception;

/**
 * @author Huangjin
 * @version 1.0
 * describe:
 * @date 2023/3/9 15:43
 */
public class FinallyDemo {
    public static void main(String[] args) {
        System.out.println("程序开始了");
        try {
            String line = "";
            System.out.println(line.length());
            return ;
        }catch (Exception e){
            System.out.println("Exception");
        }finally {
            System.out.println("finally");
        }
        System.out.println("程序结束了");
    }
}
